package cn.ywang.spring.customized.framework.webmvc;

import java.util.Map;

/**
 * @author BeatificWang
 * @date 2018/11/7 21:41
 */
public class ModelAndView {
	private String viewName;

	private Map<String, ?> model;

	public ModelAndView(String viewName, Map<String, ?> model) {
		this.viewName = viewName;
		this.model = model;
	}

	public String getViewName() {
		return this.viewName;
	}

	public void setViewName(String viewName) {
		this.viewName = viewName;
	}

	public Map<String, ?> getModel() {
		return this.model;
	}

	public void setModel(Map<String, ?> model) {
		this.model = model;
	}
}
